package com.cw.jeeyt.dao.model.system;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 附件管理Do
 *
 * @author chenw
 * @date 2020-03-18 20:21:41
 */
@Table(name = "system_attach")
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SystemAttachDo extends SystemAttachKeyDo implements Serializable {
    private static final long serialVersionUID = 1240252031952248841L;
    /** 文件名称 */
    @Column(name = "file_name")
    private String fileName;
    /** 内容类型 */
    @Column(name = "content_type")
    private String contentType;
    /** 附件内容 */
    @Column(name = "content")
    private byte[] content;
    /** 文件类型 */
    @Column(name = "file_type")
    private String fileType;
    /** 文件长度 */
    @Column(name = "file_size")
    private Long fileSize;
    /** 文件路径 */
    @Column(name = "file_dir")
    private String fileDir;
    /** 文件原始名称 */
    @Column(name = "original_file_name")
    private String originalFileName;
    /** 创建人 */
    @Column(name = "create_by")
    private Long createBy;
    /** 创建时间 */
    @Column(name = "create_date")
    private java.util.Date createDate;
    /** 修改人 */
    @Column(name = "update_by")
    private Long updateBy;
    /** 修改时间 */
    @Column(name = "update_date")
    private java.util.Date updateDate;
}
